package com.eliza.navs

import android.content.Intent
import android.os.Bundle
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import com.eliza.navs.R
import com.eliza.navs.activity.FgActivity
import com.eliza.navs.activity.FgCvActivity

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        findViewById<Button>(R.id.main_to_fg).setOnClickListener {
            startActivity(Intent(this, FgActivity::class.java))
        }
        findViewById<Button>(R.id.main_to_fgcv).setOnClickListener {
            startActivity(Intent(this, FgCvActivity::class.java))

        }
    }

}

